package edu.rochester.URshuttleschedule;
 
import android.os.Bundle;
import android.preference.EditTextPreference;
import android.preference.PreferenceActivity;
import android.text.InputFilter;
 

public class Preferences extends PreferenceActivity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		// getPreferenceManager().setSharedPreferencesName(URshuttleschedule.PREFS_NAME);
		addPreferencesFromResource(R.xml.preferences);
		(((EditTextPreference) this.findPreference("indicator")).getEditText())
				.setFilters(new InputFilter[] { new InputFilter.LengthFilter(7) });
	}
}